.sb-tab {
    width: 500px;
    height: 300px;
    border: 1px saddlebrown solid;
}

.sb-tab-title {
    height: 30px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sb-tab-title li {
    flex: 1;
    text-align: center;
}

.sb-tab-title li:hover {
    background: orangered;
    color: #fff;
}

.sb-tab-title li.active {
    background: orangered;
    color: #fff;
}


.sb-tab-content {
    height: calc(100% - 30px);
    overflow: hidden;
}

.sb-tab-content>div {
    height: 100%;
}